package main;

import main.view.FrontView;
import main.view.AdminView;
import main.controller.FrontController;
import main.controller.AdminController;

public class Main {
    public static void main(String[] args) {
        // 启动前台用户界面
        FrontView frontView = new FrontView();
        new FrontController(frontView);
        frontView.setVisible(true);

        // 启动后台管理界面
        AdminView adminView = new AdminView();
        new AdminController(adminView);
        adminView.setVisible(true);
    }
}
